home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / ada_gnu / adainc / a-sytaco.ads < prev    next >
Text File  |  1996-01-30  |  2KB  |  38 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                         GNAT RUNTIME COMPONENTS                          --
  4. --                                                                          --
  5. --         A D A . S Y N C H R O N O U S _ T A S K _ C O N T R O L          --
  6. --                                                                          --
  7. --                                 S p e c                                  --
  8. --                                                                          --
  9. --                            $Revision: 1.5 $                              --
  10. --                                                                          --
  11. -- This specification is adapted from the Ada Reference Manual for use with --
  12. -- GNAT.  In accordance with the copyright of that document, you can freely --
  13. -- copy and modify this specification,  provided that if you redistribute a --
  14. -- modified version,  any changes that you have made are clearly indicated. --
  15. --                                                                          --
  16. ------------------------------------------------------------------------------
  17.  
  18. with System;
  19.  
  20. package Ada.Synchronous_Task_Control is
  21.  
  22.    type Suspension_Object is limited private;
  23.  
  24.    procedure Set_True (S : in out Suspension_Object);
  25.  
  26.    procedure Set_False (S : in out Suspension_Object);
  27.  
  28.    function Current_State (S : Suspension_Object) return Boolean;
  29.  
  30.    procedure Suspend_Until_True (S : in out Suspension_Object);
  31.  
  32. private
  33.  
  34.    type Suspension_Object is new System.Address;
  35.    -- ??? temporary for now
  36.  
  37. end Ada.Synchronous_Task_Control;
  38.